﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SchEdu.Framework.Win;
using SchEdu.Framework.DataModel;
using SchEdu.Framework.Algorithm;
using SchEdu.Framework.Objective;

namespace SchEduApp
{
    public partial class ComparisonForm : Form
    {
        ComparisonChart comparisonChart = new ComparisonChart();

        SolutionList solutions;

        public SolutionList Solutions
        {
            get { return solutions; }
            set { solutions = value; }
        }

        public ComparisonForm()
        {
            InitializeComponent();

            this.Controls.Add(comparisonChart);
            comparisonChart.Dock = DockStyle.Fill;

        }

        private void ComparisonForm_Load(object sender, EventArgs e)
        {
            comparisonChart.DisplayChart(SchEduAppContext.SchEduData, solutions);
        }


  
    }

    
}
